<template>
  <c-form :inline="true" :form="form" ref="refForm"></c-form>
</template>

<script>
import Form from "@/components/Form";
import {gatewayForm} from "@/components/bpmn/components/bpmnPropertiesPanel/forms";

export default {
  name: "Properties_Gateway",
  components:{
    "c-form": Form
  },
  data(){
    return {
      form: gatewayForm.call(this)
    }
  },
  methods: {
    // 数据回填
    dataReset() {
      this.form.models.form = this.businessObj.formKey;
      this.form.models.asynchronous = !!(this.businessObj?.async);
      this.form.models.monopoly = !!(this.businessObj?.exclusive);
    }
  }
}
</script>